package mobi.greenplate.theweb.domain;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlEnum(String.class)
public enum RideState {
  

    @XmlEnumValue("opened") opened("opened"),
    @XmlEnumValue("closed") closed("closed");
    
    
    private final String label;

    private RideState(String label) {
        this.label = label;
    }

    public String getLabel() {
        return label;
    }   

}
